package com.ygs.secs.service.impl;

import org.springframework.stereotype.Service;

import javax.annotation.Resource;

import com.ygs.secs.model.Resume;
import com.ygs.secs.mapper.ResumeMapper;

import java.util.List;

import com.ygs.secs.service.ResumeService;

@Service
public class ResumeServiceImpl implements ResumeService {

    @Resource
    private ResumeMapper resumeMapper;

    @Override
    public int deleteByPrimaryKey(Integer resumeid) {
        return resumeMapper.deleteByPrimaryKey(resumeid);
    }

    @Override
    public int insert(Resume record) {
        return resumeMapper.insert(record);
    }

    @Override
    public int insertSelective(Resume record) {
        return resumeMapper.insertSelective(record);
    }

    @Override
    public Resume selectByPrimaryKey(Integer resumeid) {
        return resumeMapper.selectByPrimaryKey(resumeid);
    }

    @Override
    public int updateByPrimaryKeySelective(Resume record) {
        return resumeMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(Resume record) {
        return resumeMapper.updateByPrimaryKey(record);
    }

    @Override
    public int updateBatch(List<Resume> list) {
        return resumeMapper.updateBatch(list);
    }

    @Override
    public int updateBatchSelective(List<Resume> list) {
        return resumeMapper.updateBatchSelective(list);
    }

    @Override
    public int batchInsert(List<Resume> list) {
        return resumeMapper.batchInsert(list);
    }

    @Override
    public int getresumecount(String stuid) {
        return resumeMapper.getresumecount(stuid);
    }

    @Override
    public List<Resume> getresumelist(String stuid) {
        return resumeMapper.getresumelist(stuid);
    }

}
